package org.jwt.oauth.config;
import org.jwt.oauth.service.FusionLoginCallbackService;
import org.jwt.oauth.service.impl.FusionLoginCallbackServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FusionLoginCallbackConfig {

	@Bean
	@ConditionalOnMissingBean(FusionLoginCallbackService.class)
	public FusionLoginCallbackService loginCallbackService() {
		return new FusionLoginCallbackServiceImpl();
	}
}
